-- kill_recover3
-- created by panyl
-- 击杀敌人增加属性N

return {
    apply = function(prop, baseValue)
        return baseValue + prop[3];
    end,

    -- 击杀触发
    trigger = function(who, prop, arg)

        local attrib = prop[2];
        local value  = prop[3];

        BonusM.doBonus({ 2, attrib, value, }, "prop kill_recover3");

        return prop[3];
    end,

    record = function(target, prop, path)
        return false;
    end
};
